package com.shiliao.app.update.dowload;

import com.yimei.framework.FrameworkConfig;

import java.io.File;


public class SilentConfig {
    public static final String DOWNLOAD_URL_NAME = "dest_url";
    public static final String DOWNLOAD_FILE_NAME = "dest_file";
    public static final String CALLBACK_ACTION_NAME = "call_action";
    public static final String CALLBACK_EXTRA_NAME = "call_extra";
    public static final String CALLBACK_DOANLOAD_CONDITION = "network_condition"; //下载的网络条件的标志

    public static final String DOWNLOAD_RESLUT = "download_result"; //传送接受下载结果的标识
    public static final String RESULT_DOWLOAD_SUCCESS = "download_success";//下载结果成功
    public static final String RESULT_DOWLOAD_FAIL = "download_fail";//下载失败

    public static final String DOWNLOAD_FILE_SIZE = "download_file_size"; //下载文件大小标志

    public static final String DOWNLOAD_CONDITION_WIFI = "WIFI";//WIFI
    // public static final String DOWNLOAD_CONDITION_4G = "4G";//4G 和WIFI都可以下载
    public static final String DOWNLOAD_CONDITION_CONNECTION = "CONNECTION";//网络可用状态

    //public static final String SILENT_PLUGIN_VERSION = "1.0.0";

    public static final long LAST_DOWNLOAD_ERROR_TIME = 2 * 3600 * 1000L;

    public static final String DOWNLOAD_PATH = FrameworkConfig.appSdPath + "dowload" + File.separator; //下载路径
}
